package cn.laixueit.service;

import cn.laixueit.exception.StudentException;
import cn.laixueit.pojo.Student;
import com.github.pagehelper.PageInfo;

public interface StudentService {
    PageInfo<Student> findall(Integer startpage,Integer pagesize,Student student);
    Integer deleteById(Integer id);

    void save(Student student, String birthday);

    Student selectById(Integer id);

    void update(Student student) throws StudentException;
}
